﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ForgetMessage.aspx.cs" Inherits="ForgetPwd_ForgetMessage_" %>
<%@ Register src="../Controls/Head.ascx" tagname="Head" tagprefix="uc1" %>

<%@ Register src="../Controls/Foot.ascx" tagname="Foot" tagprefix="uc2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<link href="../css/website1.css" rel="stylesheet" type="text/css" />
<link href="../css/Forget.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../Scripts/jquery-1.2.6.min.js"></script>
<script type="text/javascript" src="../Scripts/jquery.validate.js"></script>
<script type="text/javascript" src="../Scripts/messages_cn.js"></script>
<script type="text/javascript" src="../Scripts/aboutverifycode.js"></script>
<link type="text/css" href="../CSS/style.css" rel="Stylesheet" />
    <title>立言咨询平台-找回密码</title>
     <script type="text/javascript">
        $(function() {
                   
            jQuery.validator.addMethod("isNumber", function(value, element) {     
              return this.optional(element) || /^(-?[0-9]*[.]*[0-9]{0,3})$/.test(value);     
            }, "验证码必须是数字");
            jQuery.validator.addMethod("isMobile", function(value, element) {     
              var length = value.length;     
              return this.optional(element) || (length == 11 && /^(((13[0-9]{1})|18[0-9]{1}|(15[0-9]{1}))+\d{8})$/.test(value));     
            }, "请正确填写您的手机号码");        
                        $("#commentForm").validate(
           {
               errorClass: "error",
               ignoreTitle: true,
               rules: {
                   MobileNO: {     
                    required: true, 
                    isMobile:true     
                   },
                   Txt_ValidateCode: {     
                    required: true ,
                    isNumber: true    
                   }   
               },
               messages: {
                    MobileNO:{ required: "手机号不能为空！"},
                    Txt_ValidateCode: {required: "请填写验证码"}   
                }
           });
        });        
    
    </script>
    
        <style type="text/css">
        /* form中显示文字的label */
        .slabel
        {
        	width:142px;
        	display: -moz-inline-box;
        	line-height: 1.8;
        	display: inline-block;
        	text-align:right;
        }
        /* 出错样式 */
        input.error, textarea.error
        {
        	border: solid 1px #CD0A0A;
        }
        label.error
        {
        	color:#CD0A0A;
        	margin-left:5px;
        }
        /* 深红色文字 */
        .textred
        {
        	color:#CD0A0A;
        }	
        .btn {
             BORDER-RIGHT: #7b9ebd 1px solid; PADDING-RIGHT: 2px; BORDER-TOP: #7b9ebd 1px solid; PADDING-LEFT: 2px; FONT-SIZE: 13px;
             FILTER: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#cecfde); 
             BORDER-LEFT: #7b9ebd 1px solid; CURSOR: hand; COLOR: black; PADDING-TOP: 2px; BORDER-BOTTOM: #7b9ebd 1px solid; height:28px;
        }
        </style>
</head>
<body>
    <form id="commentForm" runat="server">
    <div id="big">
    <uc1:Head ID="Head1" runat="server" />
    <div id="main">
           <div id="r1"><div id="r11"><a href=" ForgetNav.aspx">&nbsp; &nbsp;忘记密码怎么办？</a></div></div>
           <div id="r2"></div>
           <div style="border-top:20px #fff solid; line-height:20px;"></div>
            <table class="style1">
                <tr>
                    <td class="s2">
                        手机号:</td>
                    <td class="s3">
                        &nbsp<asp:TextBox ID="MobileNO" runat="server" BorderColor="Black" 
                            BorderWidth="1px" Height="20px" Width="150px"></asp:TextBox></td>
                    <td class="s4">
                          <input type='button' id="CommentSubmit" class="btn" value='获取手机验证码' onclick="SendComment(1)"/>
                     </td>
                    <td>
                       &nbsp; 
                    </td>
                </tr>
            </table>
            <div style="font-size:12px; color:Gray;"><div style="width:252px; float:left;"></div>
                <div style="width:496px; float:left; text-align:left; height: 15px;">短信可能会有延迟，请耐心等候，如果您长时间没有收到短信，请尝试重新获取!</div></div>
            <div style="border-top:10px #fff solid; line-height:10px;border-bottom:dotted thin #ccc; width:900px;"></div>
            <div style="border-top:20px #fff solid; line-height:20px;"></div>
            <table class="style1" >
                <tr>
                    <td class="s2">
                        输入验证码:</td>
                    <td class="s3">
                        &nbsp<asp:TextBox ID="Txt_ValidateCode" runat="server" BorderColor="Black" 
                            BorderWidth="1px" Height="20px" Width="150px"></asp:TextBox></td>
                    <td class="s4">
                        &nbsp;</td>
                    <td>
                       &nbsp; 
                    </td>
                </tr>
            </table>
            <div style="border-top:10px #fff solid; line-height:10px;border-bottom:dotted thin #ccc; width:900px;"></div>
            <div style="width:900px; height:52px;border-top:32px #fff solid; line-height:52px;">
        <asp:ImageButton ID="ImgBtn_Query" runat="server" 
            ImageUrl="~/Images/CardCenterImg/querentijiao.jpg" onclick="ImgBtn_Query_Click" />
    </div>
    </div>
    <uc2:Foot ID="Foot1" runat="server" /> 
    </div>
    </form>
</body>
</html>
